<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>TurtleDB: ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>


</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">TurtleDB
   
   </div>
   <div id="projectbrief">A mini distributed database system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="namespaces.html"><span>Packages</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator" --><!-- doxytag: inherits="ca::uqac::dim::turtledb::RelationStreamIterator" --><div class="dynheader">
Inheritance diagram for ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator:</div>
<div class="dyncontent">
<div class="center"><img src="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator__inherit__graph.png" border="0" usemap="#ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_inherit__map" alt="Inheritance graph"/></div>
<map name="ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_inherit__map" id="ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_inherit__map">
<area shape="rect" id="node9" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_intersection_1_1_intersection_iterator.html" title="ca.uqac.dim.turtledb.Intersection.IntersectionIterator" alt="" coords="1269,5,1595,35"/><area shape="rect" id="node11" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_product_1_1_product_stream_iterator.html" title="ca.uqac.dim.turtledb.Product.ProductStreamIterator" alt="" coords="1272,59,1592,88"/><area shape="rect" id="node2" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_stream_iterator.html" title="ca.uqac.dim.turtledb.RelationStreamIterator" alt="" coords="512,32,787,61"/><area shape="rect" id="node4" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html" title="ca.uqac.dim.turtledb.RelationIterator" alt="" coords="231,32,463,61"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>
<div class="dynheader">
Collaboration diagram for ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator:</div>
<div class="dyncontent">
<div class="center"><img src="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator__coll__graph.png" border="0" usemap="#ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_coll__map" alt="Collaboration graph"/></div>
<map name="ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_coll__map" id="ca_8uqac_8dim_8turtledb_8_n_ary_relation_8_n_ary_relation_stream_iterator_coll__map">
<area shape="rect" id="node2" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_stream_iterator.html" title="ca.uqac.dim.turtledb.RelationStreamIterator" alt="" coords="688,59,963,88"/><area shape="rect" id="node4" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html" title="ca.uqac.dim.turtledb.RelationIterator" alt="" coords="308,5,540,35"/><area shape="rect" id="node10" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html" title="ca.uqac.dim.turtledb.Tuple" alt="" coords="336,112,512,141"/></map>
<center><span class="legend">[<a target="top" href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#acf22c320e46ac2f99cf5815bba7da19b">NAryRelationStreamIterator</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#af4d093476785df4ed91b0cc48948bd0d">reset</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5c5ab8dc4dcfff73281dcfecfffd7588">initializeIteration</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5f768c51de504ee26745c8d9f499fb1d">incrementSmallestTuple</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5c40cbb95833401d26f431d326eb01d3">m_first</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Vector&lt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#ade56bb547d8596cb8e923dcd727717a3">m_lastTuple</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Vector&lt; <a class="el" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html">RelationIterator</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a4cebdfbc50ada362e6f80c5c95128a02">m_iterators</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00087">87</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="acf22c320e46ac2f99cf5815bba7da19b"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::NAryRelationStreamIterator" ref="acf22c320e46ac2f99cf5815bba7da19b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#acf22c320e46ac2f99cf5815bba7da19b">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.NAryRelationStreamIterator</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00104">104</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5f768c51de504ee26745c8d9f499fb1d"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::incrementSmallestTuple" ref="a5f768c51de504ee26745c8d9f499fb1d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a> <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5f768c51de504ee26745c8d9f499fb1d">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.incrementSmallestTuple</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the smallest tuple in the vector of tuples, and increments the relation that produced it </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The smallest tuple </dd></dl>

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00140">140</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a5c5ab8dc4dcfff73281dcfecfffd7588"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::initializeIteration" ref="a5c5ab8dc4dcfff73281dcfecfffd7588" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5c5ab8dc4dcfff73281dcfecfffd7588">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.initializeIteration</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00116">116</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<a class="anchor" id="af4d093476785df4ed91b0cc48948bd0d"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::reset" ref="af4d093476785df4ed91b0cc48948bd0d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#af4d093476785df4ed91b0cc48948bd0d">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.reset</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Resets the enumeration of tuples, i.e. starts back at the first tuple of the relation. </p>

<p>Reimplemented from <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_stream_iterator.html#a7ca9e1cbca7ea5fc258eaf130d753951">ca.uqac.dim.turtledb.RelationStreamIterator</a>.</p>

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00172">172</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5c40cbb95833401d26f431d326eb01d3"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::m_first" ref="a5c40cbb95833401d26f431d326eb01d3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boolean <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a5c40cbb95833401d26f431d326eb01d3">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_first</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determines if the tuple to output is the first one in the iteration </p>

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00092">92</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<a class="anchor" id="a4cebdfbc50ada362e6f80c5c95128a02"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::m_iterators" ref="a4cebdfbc50ada362e6f80c5c95128a02" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector&lt;<a class="el" href="interfaceca_1_1uqac_1_1dim_1_1turtledb_1_1_relation_iterator.html">RelationIterator</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#a4cebdfbc50ada362e6f80c5c95128a02">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_iterators</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Iterators on each relation </p>

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00102">102</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<a class="anchor" id="ade56bb547d8596cb8e923dcd727717a3"></a><!-- doxytag: member="ca::uqac::dim::turtledb::NAryRelation::NAryRelationStreamIterator::m_lastTuple" ref="ade56bb547d8596cb8e923dcd727717a3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Vector&lt;<a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_tuple.html">Tuple</a>&gt; <a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html#ade56bb547d8596cb8e923dcd727717a3">ca.uqac.dim.turtledb.NAryRelation.NAryRelationStreamIterator.m_lastTuple</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Vector containing the last tuple taken from each table </p>

<p>Definition at line <a class="el" href="_n_ary_relation_8java_source.html#l00097">97</a> of file <a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>src/ca/uqac/dim/turtledb/<a class="el" href="_n_ary_relation_8java_source.html">NAryRelation.java</a></li>
</ul>
</div><!-- contents -->
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceca.html">ca</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac.html">uqac</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim.html">dim</a>      </li>
      <li class="navelem"><a class="el" href="namespaceca_1_1uqac_1_1dim_1_1turtledb.html">turtledb</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation.html">NAryRelation</a>      </li>
      <li class="navelem"><a class="el" href="classca_1_1uqac_1_1dim_1_1turtledb_1_1_n_ary_relation_1_1_n_ary_relation_stream_iterator.html">NAryRelationStreamIterator</a>      </li>

    <li class="footer">Generated on Tue Nov 20 2012 13:26:48 for TurtleDB by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6.1 </li>
   </ul>
 </div>


</body>
</html>
